package org.linlinjava.litemall.db.dao;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.GoodsQueryVo;
import org.linlinjava.litemall.db.domain.LitemallGoods;

public interface LitemallGoodsMapperEx {
   
	IPage<LitemallGoods> selectByCondition(IPage<LitemallGoods> page,
										  @Param("shopId") Integer shopId,
										  @Param("goodsSn") String goodsSn,
										  @Param("name") String name,
										  @Param("regionId") Integer regionId,
										  @Param("reviewType") Integer reviewType,
										  @Param("sort") String sort,
										  @Param("order") String order,
										  @Param("categoryl3")Integer categoryl3);
	

	
	List<LitemallGoods> queryShopGoodsByCondition(
			@Param("query") GoodsQueryVo query,
			@Param("sort") String sort,
			@Param("order") String order);
}